var gulp = require("gulp");
var uglify = require("gulp-uglify");
var minfy = require("gulp-minify-css");
var concat = require("gulp-concat");


gulp.task("minicss",function(){
	gulp.src("css/*.css")
	.pipe(concat("all.css"))
	.pipe(minfy())
	.pipe(gulp.dest("css"));
})


gulp.task("minijs",function(){
	gulp.src(["js/*.js","!js/flexible.js","!js/route.js","!js/service.js"])
	.pipe(concat("all.js"))
	.pipe(uglify())
	.pipe(gulp.dest("js"));
})